package com.xq.props;

import com.xq.Hunter;

/**
 * @description:
 * @author: 软妹倩哟
 * @date: Created in 2020/6/7 14:29
 * @version: 1.0
 * @modified By:
 */
public class Weapon extends Props{
    private String description = "攻击力提升：";

    public Weapon(String id, String name, int effect) {
        super(id, name, effect);
    }

    public void useProps(Hunter hunter)
    {
        hunter.setAttack(hunter.getStcATK() + this.getEffect());
    }

    @Override
    public String toString() {
        return description;
    }
}
